//
//  ViewControllerChooser.h
//  iFlickr
//
//  Created by 张 霄鹤 on 09-5-17.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AuthViewController.h"
#import "UploadViewController.h"
#import "AboutViewController.h"
#import "ItemEditViewController.h"
#import "SendViewController.h"
#import "ProgressViewController.h"
#import "BlogChoiceViewController.h"

#define VCC_ID_AUTH 0
#define VCC_ID_UPLOAD 1
#define VCC_ID_ABOUT 2
#define VCC_ID_EDIT 3
#define VCC_ID_SHARE 4
#define VCC_ID_PROGRESS 5
#define VCC_ID_BLOGCHOICE 6
#define VCC_ID_WEB 7

@interface ViewControllerChooser : NSObject {
	AuthViewController *authVC;
	UploadViewController *uploadVC;
	AboutViewController *aboutVC;
	ItemEditViewController *editVC;
	SendViewController *shareVC;
	ProgressViewController *progressVC;
	BlogChoiceViewController *blogChoiceVC;
	WebAuthorizeViewController *webVC;
}

+(id)alloc;

-(id)init;

+(id)sharedChooser;

/**
 * 通过指定的id 来获取指定的 ViewController
 */
-(UIViewController *)choose:(NSInteger)vid;

-(void)dealloc;

@end


